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.
- --project-id PROJECT_ID
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.
- --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.
Indicates that this policy will be used with high assurance collections. This setting is immutable.
Show the version and exit.
- -h, --help
Show this message and exit.
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