Class AwsEc2AuthenticationOptions
java.lang.Object
org.springframework.vault.authentication.AwsEc2AuthenticationOptions
Authentication options for
AwsEc2Authentication.
Authentication options provide the path, the Identity Document URI and an optional
role. AwsEc2AuthenticationOptions can be constructed using builder().
Instances of this class are immutable once constructed.
- Author:
- Mark Paluch
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classValue object for an authentication nonce. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AwsEc2AuthenticationOptionsstatic final Stringstatic final URI -
Method Summary
-
Field Details
-
DEFAULT_PKCS7_IDENTITY_DOCUMENT_URI
-
DEFAULT_AWS_AUTHENTICATION_PATH
- See Also:
-
DEFAULT
-
-
Method Details
-
builder
- Returns:
- a new
AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder.
-
getPath
- Returns:
- the path of the aws-ec2 authentication backend mount.
-
getIdentityDocumentUri
- Returns:
- the
URIto the AWS EC2 PKCS#7-signed identity document.
-
getRole
- Returns:
- the role, may be null if none.
-
getNonce
- Returns:
- the configured
AwsEc2AuthenticationOptions.Nonce.
-