Uses of Class
io.helidon.integrations.vault.auths.k8s.CreateRole.Request
Package
Description
Vault authentication method for Kubernetes.
-
Uses of CreateRole.Request in io.helidon.integrations.vault.auths.k8s
Modifier and TypeMethodDescriptionCreateRole.Request.addBoundServiceAccountName
(String serviceAccountName) Add a service account name able to access this role.CreateRole.Request.addBoundServiceAccountNamespace
(String serviceAccountNamespace) Add a namespace allowed to access this role.CreateRole.Request.addTokenBoundCidr
(String cidr) Add CIDR block.CreateRole.Request.addTokenPolicy
(String policy) Add a policy to encode on the generated token.Optional Audience claim to verify in the JWT.static CreateRole.Request
CreateRole.Request.builder()
Fluent API builder for configuring a request.Name of the role to create.CreateRole.Request.tokenExplicitMaxTtl
(int ttl) If set, will encode an explicit max TTL onto the token.CreateRole.Request.tokenMaxTtl
(int ttl) The maximum lifetime for generated tokens.CreateRole.Request.tokenNoDefaultPolicy
(boolean noDefaultPolicy) If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.CreateRole.Request.tokenNumUses
(int numUses) The maximum number of times a generated token may be used (within its lifetime); 0 means unlimited.CreateRole.Request.tokenPeriod
(int period) The period, if any, to set on the token.CreateRole.Request.tokenTtl
(int ttl) The incremental lifetime for generated tokens.The type of token that should be generated.Modifier and TypeMethodDescriptionK8sAuth.createRole
(CreateRole.Request request) Registers a role in the auth method.K8sAuthRx.createRole
(CreateRole.Request request) Registers a role in the auth method.