Skip to content

[Feature] Automate Token Issuance for Users #1

@kaikash

Description

@kaikash

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions