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
Modifier and TypeClassDescriptionstatic class
static class
Value object for an authentication nonce. -
Field Summary
Modifier and TypeFieldDescriptionstatic final AwsEc2AuthenticationOptions
static final String
static 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
URI
to the AWS EC2 PKCS#7-signed identity document.
-
getRole
- Returns:
- the role, may be null if none.
-
getNonce
- Returns:
- the configured
AwsEc2AuthenticationOptions.Nonce
.
-