Package io.quarkus.vault
Interface VaultKubernetesAuthReactiveService
-
- All Known Implementing Classes:
VaultKubernetesAuthManager
public interface VaultKubernetesAuthReactiveServiceThis service provides programmatic access to the Kubernetes auth method. This may be used by admin clients that provision Vault for use from Kubernetes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Void>configure(VaultKubernetesAuthConfig config)Configure the Kubernetes auth method.io.smallrye.mutiny.Uni<Void>createRole(String name, VaultKubernetesAuthRole role)Create or update a Kubernetes vault role.io.smallrye.mutiny.Uni<Void>deleteRole(String name)Delete a Kubernetes vault role through its name.io.smallrye.mutiny.Uni<VaultKubernetesAuthConfig>getConfig()Gives access to the currently configured Kubernetes auth method.io.smallrye.mutiny.Uni<VaultKubernetesAuthRole>getRole(String name)Returns the definition of a Kubernetes vault role.io.smallrye.mutiny.Uni<List<String>>getRoles()Get the names of the existing Kubernetes vault roles.
-
-
-
Method Detail
-
configure
io.smallrye.mutiny.Uni<Void> configure(VaultKubernetesAuthConfig config)
Configure the Kubernetes auth method.- Parameters:
config- configuration detail
-
getConfig
io.smallrye.mutiny.Uni<VaultKubernetesAuthConfig> getConfig()
Gives access to the currently configured Kubernetes auth method.- Returns:
- the configuration
-
getRole
io.smallrye.mutiny.Uni<VaultKubernetesAuthRole> getRole(String name)
Returns the definition of a Kubernetes vault role.- Parameters:
name- role name- Returns:
- the Kubernetes vault role
-
createRole
io.smallrye.mutiny.Uni<Void> createRole(String name, VaultKubernetesAuthRole role)
Create or update a Kubernetes vault role.- Parameters:
name- role namerole- role attributes
-
deleteRole
io.smallrye.mutiny.Uni<Void> deleteRole(String name)
Delete a Kubernetes vault role through its name.- Parameters:
name- role name to delete
-
-