cmd

package
v1.40.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

this refers to remote config

Index

Constants

View Source
const MaxPayloadSizeBytes = 2097152

Variables

View Source
var ErrPayloadTooLarge = fmt.Errorf("payload is too large, maximum size is %dMB", MaxPayloadSizeBytes/1000000)

Functions

func BasePredictorWrappers

func BasePredictorWrappers() []*predictor.Params

func DescribeOpWrappers

func DescribeOpWrappers(targetEntity string) []*predictor.Params

func GetAddMembersCmd

func GetAddMembersCmd() (cli.Command, error)

func GetAuditSearchCmd

func GetAuditSearchCmd() (cli.Command, error)

func GetAuthChangePasswordCmd

func GetAuthChangePasswordCmd() (cli.Command, error)

func GetAuthClearCmd

func GetAuthClearCmd() (cli.Command, error)

func GetAuthCmd

func GetAuthCmd() (cli.Command, error)

func GetAuthListCmd

func GetAuthListCmd() (cli.Command, error)

func GetAuthProviderCmd

func GetAuthProviderCmd() (cli.Command, error)

func GetAuthProviderCreateCmd

func GetAuthProviderCreateCmd() (cli.Command, error)

func GetAuthProviderDeleteCmd

func GetAuthProviderDeleteCmd() (cli.Command, error)

func GetAuthProviderEditCmd

func GetAuthProviderEditCmd() (cli.Command, error)

func GetAuthProviderReadCmd

func GetAuthProviderReadCmd() (cli.Command, error)

func GetAuthProviderRestoreCmd

func GetAuthProviderRestoreCmd() (cli.Command, error)

func GetAuthProviderRollbackCmd

func GetAuthProviderRollbackCmd() (cli.Command, error)

func GetAuthProviderSearchCmd

func GetAuthProviderSearchCmd() (cli.Command, error)

func GetAuthProviderUpdateCmd

func GetAuthProviderUpdateCmd() (cli.Command, error)

func GetAutoKeyCreateCmd

func GetAutoKeyCreateCmd() (cli.Command, error)

func GetAutoKeyDeleteCmd

func GetAutoKeyDeleteCmd() (cli.Command, error)

func GetAutoKeyReadMetadataCmd

func GetAutoKeyReadMetadataCmd() (cli.Command, error)

func GetAutoKeyRestoreCmd

func GetAutoKeyRestoreCmd() (cli.Command, error)

func GetBYOKCmd added in v1.40.0

func GetBYOKCmd() (cli.Command, error)

func GetBYOKUpdateCmd added in v1.40.0

func GetBYOKUpdateCmd() (cli.Command, error)

func GetBreakGlassApplyCmd

func GetBreakGlassApplyCmd() (cli.Command, error)

func GetBreakGlassCmd

func GetBreakGlassCmd() (cli.Command, error)

func GetBreakGlassGenerateCmd

func GetBreakGlassGenerateCmd() (cli.Command, error)

func GetBreakGlassGetStatusCmd

func GetBreakGlassGetStatusCmd() (cli.Command, error)

func GetCliConfigClearCmd

func GetCliConfigClearCmd() (cli.Command, error)

func GetCliConfigCmd

func GetCliConfigCmd() (cli.Command, error)

func GetCliConfigEditCmd

func GetCliConfigEditCmd() (cli.Command, error)

func GetCliConfigInitCmd

func GetCliConfigInitCmd() (cli.Command, error)

func GetCliConfigReadCmd

func GetCliConfigReadCmd() (cli.Command, error)

func GetCliConfigUpdateCmd

func GetCliConfigUpdateCmd() (cli.Command, error)

func GetCliConfigUseProfileCmd

func GetCliConfigUseProfileCmd() (cli.Command, error)

func GetClientCmd

func GetClientCmd() (cli.Command, error)

func GetClientCreateCmd

func GetClientCreateCmd() (cli.Command, error)

func GetClientDeleteCmd

func GetClientDeleteCmd() (cli.Command, error)

func GetClientReadCmd

func GetClientReadCmd() (cli.Command, error)

func GetClientRestoreCmd

func GetClientRestoreCmd() (cli.Command, error)

func GetClientSearchCmd

func GetClientSearchCmd() (cli.Command, error)

func GetConfigCmd

func GetConfigCmd() (cli.Command, error)

func GetConfigEditCmd

func GetConfigEditCmd() (cli.Command, error)

func GetConfigReadCmd

func GetConfigReadCmd() (cli.Command, error)

func GetConfigUpdateCmd

func GetConfigUpdateCmd() (cli.Command, error)

func GetCryptoCmd

func GetCryptoCmd() (cli.Command, error)

func GetCryptoManualCmd

func GetCryptoManualCmd() (cli.Command, error)

func GetDecryptCmd

func GetDecryptCmd() (cli.Command, error)

func GetDeleteMembersCmd

func GetDeleteMembersCmd() (cli.Command, error)

func GetEncryptCmd

func GetEncryptCmd() (cli.Command, error)

func GetEncryptionRotateCmd

func GetEncryptionRotateCmd() (cli.Command, error)

func GetEngineCmd

func GetEngineCmd() (cli.Command, error)

func GetEngineCreateCmd

func GetEngineCreateCmd() (cli.Command, error)

func GetEngineDeleteCmd

func GetEngineDeleteCmd() (cli.Command, error)

func GetEngineListCmd

func GetEngineListCmd() (cli.Command, error)

func GetEnginePingCmd

func GetEnginePingCmd() (cli.Command, error)

func GetEngineReadCmd

func GetEngineReadCmd() (cli.Command, error)

func GetEvaluateFlagCmd

func GetEvaluateFlagCmd() (cli.Command, error)

func GetGroupCmd

func GetGroupCmd() (cli.Command, error)

func GetGroupCreateCmd

func GetGroupCreateCmd() (cli.Command, error)

func GetGroupDeleteCmd

func GetGroupDeleteCmd() (cli.Command, error)

func GetGroupReadCmd

func GetGroupReadCmd() (cli.Command, error)

func GetGroupReportCmd

func GetGroupReportCmd() (cli.Command, error)

func GetGroupRestoreCmd

func GetGroupRestoreCmd() (cli.Command, error)

func GetGroupSearchCmd

func GetGroupSearchCmd() (cli.Command, error)

func GetHomeCmd

func GetHomeCmd() (cli.Command, error)

func GetHomeCreateCmd

func GetHomeCreateCmd() (cli.Command, error)

func GetHomeDeleteCmd

func GetHomeDeleteCmd() (cli.Command, error)

func GetHomeDescribeCmd

func GetHomeDescribeCmd() (cli.Command, error)

func GetHomeEditCmd

func GetHomeEditCmd() (cli.Command, error)

func GetHomeReadCmd

func GetHomeReadCmd() (cli.Command, error)

func GetHomeRestoreCmd

func GetHomeRestoreCmd() (cli.Command, error)

func GetHomeRollbackCmd

func GetHomeRollbackCmd() (cli.Command, error)

func GetHomeSearchCmd

func GetHomeSearchCmd() (cli.Command, error)

func GetHomeUpdateCmd

func GetHomeUpdateCmd() (cli.Command, error)

func GetManualKeyDecryptCmd

func GetManualKeyDecryptCmd() (cli.Command, error)

func GetManualKeyDeleteCmd

func GetManualKeyDeleteCmd() (cli.Command, error)

func GetManualKeyEncryptCmd

func GetManualKeyEncryptCmd() (cli.Command, error)

func GetManualKeyReadCmd

func GetManualKeyReadCmd() (cli.Command, error)

func GetManualKeyRestoreCmd

func GetManualKeyRestoreCmd() (cli.Command, error)

func GetManualKeyUpdateCmd

func GetManualKeyUpdateCmd() (cli.Command, error)

func GetManualKeyUploadCmd

func GetManualKeyUploadCmd() (cli.Command, error)

func GetMemberGroupsCmd

func GetMemberGroupsCmd() (cli.Command, error)

func GetNoDataOpWrappers

func GetNoDataOpWrappers(targetEntity string) []*predictor.Params

func GetPkiCmd

func GetPkiCmd() (cli.Command, error)

func GetPkiGenerateRootCmd

func GetPkiGenerateRootCmd() (cli.Command, error)

func GetPkiLeafCmd

func GetPkiLeafCmd() (cli.Command, error)

func GetPkiRegisterCmd

func GetPkiRegisterCmd() (cli.Command, error)

func GetPkiSSHCertCmd

func GetPkiSSHCertCmd() (cli.Command, error)

func GetPkiSignCmd

func GetPkiSignCmd() (cli.Command, error)

func GetPolicyCmd

func GetPolicyCmd() (cli.Command, error)

func GetPolicyCreateCmd

func GetPolicyCreateCmd() (cli.Command, error)

func GetPolicyDeleteCmd

func GetPolicyDeleteCmd() (cli.Command, error)

func GetPolicyEditCmd

func GetPolicyEditCmd() (cli.Command, error)

func GetPolicyReadCmd

func GetPolicyReadCmd() (cli.Command, error)

func GetPolicyRestoreCmd

func GetPolicyRestoreCmd() (cli.Command, error)

func GetPolicyRollbackCmd

func GetPolicyRollbackCmd() (cli.Command, error)

func GetPolicySearchCmd

func GetPolicySearchCmd() (cli.Command, error)

func GetPolicyUpdateCmd

func GetPolicyUpdateCmd() (cli.Command, error)

func GetPoolCmd

func GetPoolCmd() (cli.Command, error)

func GetPoolCreateCmd

func GetPoolCreateCmd() (cli.Command, error)

func GetPoolDeleteCmd

func GetPoolDeleteCmd() (cli.Command, error)

func GetPoolListCmd

func GetPoolListCmd() (cli.Command, error)

func GetPoolReadCmd

func GetPoolReadCmd() (cli.Command, error)

func GetReportCmd

func GetReportCmd() (cli.Command, error)

func GetRoleCmd

func GetRoleCmd() (cli.Command, error)

func GetRoleCreateCmd

func GetRoleCreateCmd() (cli.Command, error)

func GetRoleDeleteCmd

func GetRoleDeleteCmd() (cli.Command, error)

func GetRoleReadCmd

func GetRoleReadCmd() (cli.Command, error)

func GetRoleRestoreCmd

func GetRoleRestoreCmd() (cli.Command, error)

func GetRoleSearchCmd

func GetRoleSearchCmd() (cli.Command, error)

func GetRoleUpdateCmd

func GetRoleUpdateCmd() (cli.Command, error)

func GetSearchOpWrappers

func GetSearchOpWrappers() []*predictor.Params

func GetSecretBustCacheCmd

func GetSecretBustCacheCmd() (cli.Command, error)

func GetSecretCmd

func GetSecretCmd() (cli.Command, error)

func GetSecretCreateCmd

func GetSecretCreateCmd() (cli.Command, error)

func GetSecretDeleteCmd

func GetSecretDeleteCmd() (cli.Command, error)

func GetSecretDescribeCmd

func GetSecretDescribeCmd() (cli.Command, error)

func GetSecretEditCmd

func GetSecretEditCmd() (cli.Command, error)

func GetSecretReadCmd

func GetSecretReadCmd() (cli.Command, error)

func GetSecretReportCmd

func GetSecretReportCmd() (cli.Command, error)

func GetSecretRestoreCmd

func GetSecretRestoreCmd() (cli.Command, error)

func GetSecretRollbackCmd

func GetSecretRollbackCmd() (cli.Command, error)

func GetSecretSearchCmd

func GetSecretSearchCmd() (cli.Command, error)

func GetSecretUpdateCmd

func GetSecretUpdateCmd() (cli.Command, error)

func GetSiemCmd

func GetSiemCmd() (cli.Command, error)

func GetSiemCreateCmd

func GetSiemCreateCmd() (cli.Command, error)

func GetSiemDeleteCmd

func GetSiemDeleteCmd() (cli.Command, error)

func GetSiemReadCmd

func GetSiemReadCmd() (cli.Command, error)

func GetSiemSearchCmd

func GetSiemSearchCmd() (cli.Command, error)

func GetSiemUpdateCmd

func GetSiemUpdateCmd() (cli.Command, error)

func GetUsageCmd

func GetUsageCmd() (cli.Command, error)

func GetUserCmd

func GetUserCmd() (cli.Command, error)

func GetUserCreateCmd

func GetUserCreateCmd() (cli.Command, error)

func GetUserDeleteCmd

func GetUserDeleteCmd() (cli.Command, error)

func GetUserReadCmd

func GetUserReadCmd() (cli.Command, error)

func GetUserRestoreCmd

func GetUserRestoreCmd() (cli.Command, error)

func GetUserSearchCmd

func GetUserSearchCmd() (cli.Command, error)

func GetUserUpdateCmd

func GetUserUpdateCmd() (cli.Command, error)

func GetWhoAmICmd

func GetWhoAmICmd() (cli.Command, error)

func NewCommand

func NewCommand(args CommandArgs) (cli.Command, error)

func ValidateParams

func ValidateParams(params map[string]string, requiredKeys []string) *errors.ApiError

Types

type AuthProviderProperties

type AuthProviderProperties struct {
	AccountID        string `json:"accountId,omitempty"`
	TenantID         string `json:"tenantId,omitempty"`
	ProjectID        string `json:"projectId,omitempty"`
	Default          bool   `json:"default,omitempty"`
	ClientEmail      string `json:"clientEmail,omitempty"`
	PrivateKey       string `json:"privateKey,omitempty"`
	PrivateKeyID     string `json:"privateKeyId,omitempty"`
	TokenURI         string `json:"tokenUri,omitempty"`
	ClientID         string `json:"clientId,omitempty"`
	ClientSecret     string `json:"clientSecret,omitempty"`
	Type             string `json:"type,omitempty"`
	BaseURI          string `json:"baseUri,omitempty"`
	UsernameClaim    string `json:"usernameClaim,omitempty"`
	SendWelcomeEmail *bool  `json:"sendWelcomeEmail,omitempty"`
}

type CIDRCondition

type CIDRCondition struct {
	CIDR string `json:"cidr"`
}

type CommandArgs

type CommandArgs struct {
	Path           []string
	RunFunc        func(vcli vaultcli.CLI, args []string) int
	RunFuncE       func(vcli vaultcli.CLI, args []string) error
	WizardFunc     func(vcli vaultcli.CLI) int
	HelpText       string
	SynopsisText   string
	ArgsPredictor  complete.Predictor
	FlagsPredictor []*predictor.Params
	NoConfigRead   bool
	NoPreAuth      bool
	MinNumberArgs  int
}

type GQGroup

type GQGroup struct {
	Name           graphql.String
	Created        graphql.String
	LastModified   graphql.String
	CreatedBy      graphql.String
	LastModifiedBy graphql.String
	Version        graphql.String
}

type GQRole

type GQRole struct {
	Name           graphql.String
	ExternalID     graphql.String
	Provider       graphql.String
	Created        graphql.String
	LastModified   graphql.String
	CreatedBy      graphql.String
	LastModifiedBy graphql.String
	Version        graphql.String
	Description    graphql.String
}

type GQUser

type GQUser struct {
	UserName       graphql.String
	Provider       graphql.String
	Created        graphql.String
	LastModified   graphql.String
	CreatedBy      graphql.String
	LastModifiedBy graphql.String
	Version        graphql.String
}

type Home

type Home struct {
	Secrets []struct {
		ID             graphql.String
		Path           graphql.String
		Created        graphql.String
		LastModified   graphql.String
		LastModifiedBy graphql.String
		Version        graphql.String
	}
	Pagination struct {
		Cursor graphql.String
		Limit  graphql.Int
	}
}

type MemberOf

type MemberOf struct {
	Memberships []struct {
		Group struct {
			ID   graphql.String
			Name graphql.String
		}
		Since     graphql.String
		CreatedBy graphql.String
	}
	Pagination struct {
		Offset     graphql.Int
		Limit      graphql.Int
		PageSize   graphql.Int
		TotalItems graphql.Int
	}
}

type PostConfigModel

type PostConfigModel struct {
	Config        string
	Serialization string
}

type Secrets

type Secrets struct {
	Secrets []struct {
		Actions        []graphql.String
		ID             graphql.String
		Path           graphql.String
		Created        graphql.String
		LastModified   graphql.String
		LastModifiedBy graphql.String
		Version        graphql.String
	}
	Pagination struct {
		Offset   graphql.Int
		Limit    graphql.Int
		PageSize graphql.Int
	}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL