-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I suggest introducing a feature that simplifies the token issuance process for users, enabling automatic storage in HashiCorp Vault. This enhancement would bolster automation and minimize manual interventions in token management.
Below is a sample of how it might be integrated:
variable "vault_config_var" {
description = "Configuration for Vault"
type = object({
address = string
prefix_path = string
env_token_name = string
})
default = {
address = "http://0.0.0.0:8200"
prefix_path = "secret"
env_token_name = "VAULT_TOKEN"
}
}
resource "ytsaurus_user_some_user" "some_user" {
name = "some_user"
issue_token = true
vault_config = var.vault_config_var
}
Alternatively, we could introduce a distinct token resource for this purpose.
Metadata
Metadata
Assignees
Labels
No labels