Creating a new type of credentials for Amazon Ec2 Key Pair is convenient for AWS plugins and to execute aws related scripts.
AmazonEc2KeyPairCredentials should have the following attributes (name to be confirmed)
keypairName: String
pem file: String
AmazonEc2KeyPairCredentials should implement FileCredentials so that the credentials-binding-plugin can temporarily store the file on the agent during builds.
Creating a new type of credentials for Amazon Ec2 Key Pair is convenient for AWS plugins and to execute aws related scripts.
* AmazonEc2KeyPairCredentials should have the following attributes (name to be confirmed) * keypairName: String * pem file: String
* AmazonEc2KeyPairCredentials should implement have a should have a [FileCredentialsBindingDescriptor|https://github.com/jenkinsci/plain-credentials-binding-plugin/blob/792b70b3e5eab482c68cd86ac28c0914b5855f9c595d5b99a088839bc6b11a1bba6f5dd19481f4fd/src/main/java/org/jenkinsci/plugins/plaincredentialscredentialsbinding/FileCredentialsBindingDescriptor.java] @Extension so that the credentials-binding-plugin can temporarily store the file on the agent disk during builds.