nebula access-condtion
Manage the access conditions for secrets.
Subcommands
nebula access-condition list
The nebula access-condition list
command lists the access conditions that are registered into the backbone server. The command returns the access condition id, name, and expression of each access condition.
nebula access-condition create
The nebula access-condition create
command creates a new access condition in the backbone server.
Flags
-n, --name <name>
: The name of the access condition. (required)-e, --expression <expression>
: The expression of the access condition. (required)
Expression syntax:
("<attribute_key>=<attribute_value>@<authority_name>-<workspace_name>#<version>")
Note:
The expression must be enclosed in double quotes.
The expression can be a combination of multiple conditions using logical operators (AND, OR).
If you didn't roll the version, the default version is 1.
Example:
(("group=admin@Authority-default#1") AND ("role=manager@Authority-default#1")) OR ("group=infra@Authority-test#1"))