Globus Connect Server Create Auth Policy
Description
The globus-connect-server auth-policy create command provides a command-line interface for creating authentication policies which can be used to enhance the access requirements for collections.
Options
- --project-id PROJECT_ID (new in 5.4.72)
-
The Globus Auth project ID where this authentication policy will be stored. If the admin only has a single Globus Auth project, it will be used by default. Otherwise, the admin must specify the Globus Auth project ID.
- --authentication-assurance-timeout SECONDS (new in 5.4.72)
-
Number of seconds within which someone must have authenticated to satisfy the policy.
- --include DOMAIN
-
Identity provider domain allowed for guest collection permissions. Users accessing the guest collection must have an identity from one of the included domains and that identity must have a valid guest collection permission. Specify a value of "" to remove this restriction and allow all of the user’s guest collection permissions. The domain may include wildcards, ie
'*.edu'
. This option can be given multiple times. - --exclude DOMAIN
-
Identity provider domain not allowed for guest collection permissions. Any of the user’s permissions from this domain will not be considered for guest collection access. Specify a value of "" to remove this restriction and allow all of the user’s guest collection permissions. Any domain listed in both included domains and excluded domains will not be able to access the guest collection. The domain may include wildcards, ie
'*.com'
. This option can be given multiple times. - --high-assurance
-
Indicates that this policy will be used with high assurance collections. This setting is immutable.
- --version
-
Show the version and exit.
- -h, --help
-
Show this message and exit.
Example
This example creates an authentication policy which allows guest collection data access by identities from globus.org as well as any identity in an edu domain except foo.edu. This policy is not high assurance so can only be used on collections not configured for high assurance.
globus-connect-server auth-policy create \
--include globus.org \
--include *.edu \
--exclude foo.edu \
"My Auth Policy Description" \
"My Auth Policy Display Name"
Authentication Policy ID: 18be6172-43a8-438c-aaa8-e8e36707399e