@groovy.transform.CompileStatic class TerraformAwsCredentialsProvider
A special credentials provider for use in the Terraform Gradle plugin, which can be add to an authentication chain.
Modifiers | Name | Description |
---|---|---|
static class |
TerraformAwsCredentialsProvider.Credentials |
Constructor and description |
---|
TerraformAwsCredentialsProvider
(Provider<java.lang.String> accessKeyId, Provider<java.lang.String> secret, ProjectOperations po) A provider that will look for AWS credentials. |
Type Params | Return Type | Name and description |
---|---|---|
|
AwsCredentials |
resolveCredentials() Resolves credentials |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
A provider that will look for AWS credentials.
The convention is to search project and system properties first and then look for the
equivalent environmental variables. Failing that values will be set to null
accessKeydId
- A provider to the access key idsecret
- A provider to the secretpo
- An instance of ProjectOperations.Resolves credentials