Skip to content

Update AppRole documentation with modern parameters#387

Merged
chrisarcand merged 1 commit intomasterfrom
docs-220-approle-parameters
Feb 4, 2026
Merged

Update AppRole documentation with modern parameters#387
chrisarcand merged 1 commit intomasterfrom
docs-220-approle-parameters

Conversation

@chrisarcand
Copy link
Member

Updated the set_role method documentation to include current Vault AppRole parameters:

  • secret_id_bound_cidrs (replaces deprecated bound_cidr_list)
  • token_bound_cidrs (for token IP restrictions)
  • token_policies (replaces deprecated policies)
  • local_secret_ids
  • token_explicit_max_ttl
  • token_no_default_policy
  • token_num_uses
  • token_period
  • token_type

These parameters were already supported by vault-ruby (the method passes all options directly to Vault), but were not documented and caused some confusion. Added reference to official Vault API documentation for the complete list of available parameters.

Fixes #220

beekus
beekus previously approved these changes Feb 4, 2026
beekus
beekus previously approved these changes Feb 4, 2026
Updated the set_role method documentation to include current Vault
AppRole parameters:
- secret_id_bound_cidrs (replaces deprecated bound_cidr_list)
- token_bound_cidrs (for token IP restrictions)
- token_policies (replaces deprecated policies)
- local_secret_ids
- token_explicit_max_ttl
- token_no_default_policy
- token_num_uses
- token_period
- token_type

These parameters were already supported by vault-ruby (the method
passes all options directly to Vault), but were not documented.

Added reference to official Vault API documentation for the complete
list of available parameters.

Fixes #220
@chrisarcand
Copy link
Member Author

When you fall, try try again or something like that.

@chrisarcand chrisarcand merged commit 29a84fe into master Feb 4, 2026
27 checks passed
@chrisarcand chrisarcand deleted the docs-220-approle-parameters branch February 4, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AppRole auth: add support for 'secret_id_bound_cidrs' and 'token_bound_cidrs'

2 participants