You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Does not grant the ability to overwrite/modify existing resources")
66
68
tokenCreateCmd.Flags().BoolP("modify", "m", false, "Create a token with the ability to modify/delete the specified resource.")
67
69
tokenCreateCmd.Flags().BoolP("stage", "s", false, "Create a token with the ability to stage the specified resource.")
68
-
tokenCreateCmd.Flags().StringP("scope-path", "P", "", "Specify the path to use when creating the token's scopes. This should generally be "+
70
+
tokenCreateCmd.Flags().String("scope-path", "", "Specify the path to use when creating the token's scopes. This should generally be "+
69
71
"the object path without the namespace prefix.")
70
72
71
73
// Additional token fields
72
74
tokenCreateCmd.Flags().StringP("audience", "a", "", "Specify the tokens audience. If not provided, the equivalent 'any' audience "+
73
75
"for the selected profile will be used (e.g. 'https://wlcg.cern.ch/jwt/v1/any' for the 'wlcg' profile).")
74
76
tokenCreateCmd.Flags().IntP("lifetime", "l", 1200, "Set the lifetime of the token in seconds. Default is 1200 (20min).")
75
-
tokenCreateCmd.Flags().StringP("subject", "u", "", "Set the subject of the token. If not provided, the current user will be used as the default subject.")
77
+
tokenCreateCmd.Flags().String("subject", "", "Set the subject of the token. If not provided, the current user will be used as the default subject.")
76
78
tokenCreateCmd.Flags().StringP("issuer", "i", "", "Set the issuer of the token. If not provided, the issuer will be discovered via the Director.")
77
-
tokenCreateCmd.Flags().StringArrayP("claim", "c", []string{}, "Set claims to be added to the token. Format: <claim_key>=<claim_value>. ")
78
-
tokenCreateCmd.Flags().StringArrayP("scope", "C", []string{}, "Set non-typical values for the token's 'scope' claim. Format: <scope_key>=<scope_value>. ")
79
+
tokenCreateCmd.Flags().StringArray("raw-claim", []string{}, "Set claims to be added to the token. Format: <claim_key>=<claim_value>. ")
80
+
tokenCreateCmd.Flags().StringArray("raw-scope", []string{}, "Set non-typical values for the token's 'scope' claim. Scopes should be space-separated, e.g. "+
81
+
"'storage.read:/ storage.create:/'.")
79
82
tokenCreateCmd.Flags().StringP("profile", "p", "wlcg", "Create a token with a specific JWT profile. Accepted values are scitokens2 and wlcg")
80
83
tokenCreateCmd.Flags().StringP("private-key", "k", "", "Path to the private key used to sign the token. If not provided, Pelican will look for the private key in the default location.")
0 commit comments