package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Functions

Create creates secret and stores it in the vault under given key.
CreateAgentSecret creates agent secret key if it doesn't exist.
Get reads the secret key from the vault.
GetAgentSecret read the agent secret from the vault.
Remove removes the secret key from the vault.
Set saves the secret key to the vault.
SetAgentSecret saves the agent secret from the vault This is needed for migration from 8.3.0-8.3.2 to higher versions.

# Constants

No description provided by the author

# Structs

Secret is the structure that is JSON serialized and stored.