AuthPolicyDefinition
A single rule within an authentication policy, specifying access decisions for a token type.
Properties
decisionstring requiredThe access decision for matching tokens (e.g. ‘allow’, ‘deny’).tokenTypestring requiredThe type of token this rule applies to (e.g. ‘personal’, ‘org’, ’team’).teamNamestring optionalTeam name filter. When set, this rule only applies to tokens belonging to this team.userLoginstring optionalUser login filter. When set, this rule only applies to tokens belonging to this user.runnerIDstring optionalRunner ID filter. When set, this rule only applies to tokens for this deployment runner.roleIDstring optionalRole ID filter. When set, this rule only applies to tokens with this role.authorizedPermissionsarray[string] requiredThe set of permissions granted when this rule matches.rulesmap[string]object requiredAdditional rule conditions as key-value pairs.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.