# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package corehelpers contains testhelpers that don't depend on package vault, and thus can be used within vault (as well as elsewhere.).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package pluginhelpers contains testhelpers that don't depend on package vault, and thus can be used within vault (as well as elsewhere.).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
AwaitLeader waits for one of the cluster's nodes to become leader.
CreateEntityAndAlias clones an existing client and creates an entity/alias, uses userpass mount path It returns the cloned client, entityID, and aliasID.
CreateEntityAndAliasWithinMount clones an existing client and creates an entity/alias, within the specified mountPath It returns the cloned client, entityID, and aliasID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateRoot generates a root token on the target cluster.
GenerateRootKindString retrieves an enum value from the enum constants string name.
GenerateRootKindValues returns all values of the enum.
No description provided by the author
GetTOTPCodeFromEngine requests a TOTP code from the specified enginePath.
IsLocalOrRegressionTests returns true when the tests are running locally (not in CI), or when the regression test env var (VAULT_REGRESSION_TESTS) is provided.
NewHardcodedServerAddressProvider is a convenience function that makes a ServerAddressProvider from a given cluster address base port.
No description provided by the author
No description provided by the author
RandomWithPrefix is used to generate a unique name with a prefix, for randomizing names in acceptance tests.
RegisterEntityInTOTPEngine registers an entity with a methodID and returns the generated name.
No description provided by the author
RetryUntil runs f with a 100ms pause between calls, until f returns a nil result or the timeout is reached.
RetryUntilAtCadence runs f until it returns a nil result or the timeout is reached.
RetryUntilAtCadenceWithHandler runs f until it returns a nil result or the timeout is reached.
No description provided by the author
SetNonRootToken sets a token on :client: with a fairly generic policy.
SetupLoginMFATOTP setups up a TOTP MFA using some basic configuration and returns all relevant information to the client.
SetupMFALoginEnforcement configures a single enforcement method using the provided config map.
SetupTOTPMethod configures the TOTP secrets engine with a provided config map.
SetupTOTPMount enables the totp secrets engine by mounting it.
SetupUserpassMountAccessor sets up userpass auth and returns its mount accessor.
No description provided by the author
No description provided by the author
No description provided by the author
VerifyRaftConfiguration checks that we have a valid raft configuration, i.e.
VerifyRaftPeers verifies that the raft configuration contains a given set of peers.
No description provided by the author
WaitForActiveNodeAndStandbys does nothing more than wait for the active node on OSS.
No description provided by the author
No description provided by the author
WaitForNodesExcludingSelectedStandbys is variation on WaitForActiveNodeAndStandbys.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
HardcodedServerAddressProvider is a ServerAddressProvider that uses a hardcoded map of raft node addresses.
No description provided by the author
# Type aliases
go:generate enumer -type=GenerateRootKind -trimprefix=GenerateRoot.