VaultToken#
- pydantic model phalanx.models.vault.VaultToken#
Newly-created Vault token for secret access.
- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "VaultToken", "description": "Newly-created Vault token for secret access.", "type": "object", "properties": { "display_name": { "title": "Display Name", "type": "string" }, "accessor": { "title": "Accessor", "type": "string" }, "expires": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Expires" }, "policies": { "items": { "type": "string" }, "title": "Policies", "type": "array" }, "token": { "title": "Token", "type": "string" } }, "required": [ "display_name", "accessor", "expires", "policies", "token" ] }
- Fields:
- field accessor: str [Required]#
Accessor for the token, used to get metadata or revoke it.
- field display_name: str [Required]#
Display name of the token.
- field expires: datetime | None [Required]#
When the token expires, if it does.
- field policies: list[str] [Required]#
Policies applied to this token.
- field token: str [Required]#
Secret token.