AuthenticationRuleArgs

data class AuthenticationRuleArgs(val allowWithoutCredential: Output<Boolean>? = null, val oauth: Output<OAuthRequirementsArgs>? = null, val requirements: Output<List<AuthRequirementArgs>>? = null, val selector: Output<String>? = null) : ConvertibleToJava<AuthenticationRuleArgs>

Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.

Constructors

Link copied to clipboard
fun AuthenticationRuleArgs(allowWithoutCredential: Output<Boolean>? = null, oauth: Output<OAuthRequirementsArgs>? = null, requirements: Output<List<AuthRequirementArgs>>? = null, selector: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AuthenticationRuleArgs

Properties

Link copied to clipboard
val allowWithoutCredential: Output<Boolean>? = null

If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.

Link copied to clipboard
val oauth: Output<OAuthRequirementsArgs>? = null

The requirements for OAuth credentials.

Link copied to clipboard
val requirements: Output<List<AuthRequirementArgs>>? = null

Requirements for additional authentication providers.

Link copied to clipboard
val selector: Output<String>? = null

Selects the methods to which this rule applies. Refer to selector for syntax details.