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.

Return type:

dict[str, str]