Documentation ¶
Index ¶
- Variables
- func Connect() string
- func ConnectUI() string
- func Create(name, value string) string
- func List() string
- func ListAppSec(orgID, projID, appName, token string) string
- func ListUI() string
- func StoreUI(userInput string) string
- type CreatedBy
- type Location
- type Secret
- type SecretBody
- type SecretsResponse
- type SyncStatus
- type TokenResponse
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VAULT_PREFIX = "hcpvault" VAULT_MAIN_DESC = "Manage Token/Password on Hashicorp Vault" VAULT_SUBCOMMAND_NAMES = []string{VAULT_PREFIX + "connect", VAULT_PREFIX + "store", VAULT_PREFIX + "list"} VAULT_SUBCOMMAND_DESC = []string{"Generate HCP API token and connect to Hashicorp Vault", "Store a new secret to Hashicorp Vault", "List HCP Vault secrets log details"} VAULT_DISPLAY_COLOR = "#FFDE59" )
Functions ¶
func ListAppSec ¶
Types ¶
type SecretBody ¶
type SecretsResponse ¶
type SecretsResponse struct {
Secrets []Secret `json:"secrets"`
}
type SyncStatus ¶
type SyncStatus struct {
VersionCount string `json:"version_count"`
}
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.