elevate

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ElevateCmd = &cobra.Command{
	Use:          "elevate <REASON> <COMMAND>",
	Short:        "Give a justification for elevating privileges to backplane-cluster-admin and attach it to your user object",
	Long:         `Elevate to backplane-cluster-admin, and give a reason to do so. This will then be forwarded to your audit collection backend of your choice as the 'Impersonate-User-Extra' HTTP header, which can then be used for tracking, compliance, and security reasons. The command creates a temporary kubeconfig and clusterrole for your user, to allow you to add the extra header to your Kube API request.`,
	Example:      "ocm backplane elevate <reason> -- get po -A",
	Args:         cobra.MinimumNArgs(2),
	RunE:         runElevate,
	SilenceUsage: true,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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