vault_policy_management#

(Module sources)

Purpose

This module is provided as guiding sample for implementing your own policy management. It creates an ACL policy, with associated tokens, to create other policies, while excplicitly denying any modification on a list of other policies.

Authentication#

Provide your cluster address and token as environment variables.

export VAULT_ADDR="..."
export VAULT_TOKEN="..."

Providers#

Name

Version

vault

3.21.0

Inputs#

Name

Description

Type

Default

Required

kv_v2_mount_point

n/a

string

n/a

yes

policy_management_token_renew_increment

n/a

number

86400

no

policy_management_token_renew_min_lease

n/a

number

43200

no

policy_management_token_renewable

n/a

bool

true

no

policy_management_token_ttl

n/a

string

"24h"

no

Outputs#

Name

Description

policy_management_token

n/a