VaultTokenCredentials#

pydantic model phalanx.models.vault.VaultTokenCredentials#

Credentials for Vault access using a token.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "VaultTokenCredentials",
   "description": "Credentials for Vault access using a token.",
   "type": "object",
   "properties": {
      "token": {
         "title": "Token",
         "type": "string"
      }
   },
   "required": [
      "token"
   ]
}

Fields:
field token: str [Required]#

Vault token.

to_secret_data()#

Construct the corresponding vault-secrets-operator secret. :rtype: dict[str, str]