package cliconfig

import "github.com/hashicorp/vault/api/cliconfig"

Index

Functions

func DefaultTokenHelper

func DefaultTokenHelper() (tokenhelper.TokenHelper, error)

DefaultTokenHelper returns the token helper that is configured for Vault. This helper should only be used for non-server CLI commands.

func DefaultTokenHelperCheckDuplicates

func DefaultTokenHelperCheckDuplicates() (helper tokenhelper.TokenHelper, duplicate bool, err error)

TODO (HCL_DUP_KEYS_DEPRECATION): eventually make this consider duplicates an error. Ideally we should remove it but maybe we can't since it's become part of the API pkg.

Source Files

config.go hcl_dup_attr_deprecation.go util.go

Version
v1.20.0 (latest)
Published
Jun 4, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
3 weeks ago

Tools for package owners.