ilusm.dev

vault

Secret management, credential storage, rotation.

Load with: use vault

Quick example

use vault

result = vault("value", 10)
prn(result)

Functions

Vault client

vault(vault_addr, token)

Performs the operation. Takes vault_addr, token.

vault1(client, namespace)

Performs the operation. Takes client, namespace.

KV secrets

vault2(client, path)

Performs the operation. Takes client, path.

vault3(client, path, data)

Performs the operation. Takes client, path, data.

vault4(client, path)

Performs the operation. Takes client, path.

vault5(client, path)

Performs the operation. Takes client, path.

KV versioning

vault6(client, path, version)

Performs the operation. Takes client, path, version.

Dynamic secrets

vault7(client, role)

Performs the operation. Takes client, role.

vault8(client, role)

Performs the operation. Takes client, role.

PKI

vault9(client, role, common_name)

Performs the operation. Takes client, role, common_name.

vault10(client, role, csr, common_name)

Performs the operation. Takes client, role, csr, common_name.

vault11(client, serial)

Performs the operation. Takes client, serial.

Transit (encryption as a service)

vault12(client, key_name, plaintext)

Performs the operation. Takes client, key_name, plaintext.

vault13(client, key_name, ciphertext)

Performs the operation. Takes client, key_name, ciphertext.

vault14(client, key_name, data)

Performs the operation. Takes client, key_name, data.

vault15(client, key_name, data, signature)

Performs the operation. Takes client, key_name, data, signature.

vault16(client, key_name, data)

Performs the operation. Takes client, key_name, data.

vault17(client, key_name, bits)

Performs the operation. Takes client, key_name, bits.

Leases

vault18(client, lease_id)

Performs the operation. Takes client, lease_id.

vault19(client, lease_id)

Performs the operation. Takes client, lease_id.

Authentication

vault20(client, role_id, secret_id)

Performs the operation. Takes client, role_id, secret_id.

vault21(client, role, jwt)

Performs the operation. Takes client, role, jwt.

vault22(client, username, password)

Performs the operation. Takes client, username, password.

Local secret encryption

vault23(plaintext, key)

Performs the operation. Takes plaintext, key.

vault24(ciphertext, key)

Performs the operation. Takes ciphertext, key.

Rotation

vault25(client, path)

Performs the operation. Takes client, path.

Health

valth(client)

Performs the operation. Takes client.

Notes

  • Secret management - store, retrieve, rotate secrets.