Documentation
¶
Index ¶
- Constants
- Variables
- func NewCmdCreateAWS(ctx *cmd.Context, runF func(*CreateAWSOpts) error) *cmd.Command
- func NewCmdCreateCredFile(ctx *cmd.Context, runF func(*CreateCredFileOpts) error) *cmd.Command
- func NewCmdCreateOIDC(ctx *cmd.Context, runF func(*CreateOIDCOpts) error) *cmd.Command
- func NewCmdDelete(ctx *cmd.Context, runF func(*DeleteOpts) error) *cmd.Command
- func NewCmdList(ctx *cmd.Context, runF func(*ListOpts) error) *cmd.Command
- func NewCmdRead(ctx *cmd.Context, runF func(*ReadOpts) error) *cmd.Command
- func NewCmdWIPs(ctx *cmd.Context) *cmd.Command
- type CreateAWSOpts
- type CreateCredFileOpts
- type CreateOIDCOpts
- type DeleteOpts
- type ListOpts
- type ReadOpts
Constants ¶
View Source
const ( // WIPNameArgDoc is the documentation for accepting a workload identity // provider name as an argument. WIPNameArgDoc = `` /* 197-byte string literal not displayed */ )
Variables ¶
View Source
var ( // WIPResourceName is a regex that matches a workload identity provider resource name WIPResourceName = regexp.MustCompile(`^iam/project/.+/service-principal/.+/workload-identity-provider/.+$`) )
Functions ¶
func NewCmdCreateAWS ¶
func NewCmdCreateCredFile ¶
func NewCmdCreateOIDC ¶
func NewCmdDelete ¶
Types ¶
type CreateAWSOpts ¶
type CreateCredFileOpts ¶
type CreateCredFileOpts struct { IO iostreams.IOStreams WIP string OutputFile string // Only one of these can be set AWS bool Azure bool GCP bool SourceEnvVar string SourceURL string SourceFile string // AWS options IMDSv1 bool // Azure options AzureResource string AzureClientID string // JSON Options CredentialJSONPointer string // Headers to sent to SourceURL SourceURLHeaders map[string]string }
func (*CreateCredFileOpts) Validate ¶
func (c *CreateCredFileOpts) Validate() error
type CreateOIDCOpts ¶
type DeleteOpts ¶
type DeleteOpts struct { Ctx context.Context IO iostreams.IOStreams Profile *profile.Profile Name string Client service_principals_service.ClientService }
Click to show internal directories.
Click to hide internal directories.