<!--
{
  "documentType" : "article",
  "framework" : "Security",
  "identifier" : "/documentation/Security/authorization-name-tags",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Authorization Name Tags"
}
-->

# Authorization Name Tags

Use name tags to define authorization security items.

## Discussion

These tags are possible values for the `name` field of an [`AuthorizationItem`](/documentation/Security/AuthorizationItem) structure. This is not an all-inclusive set. You determine the name of the right to request. These environment tags are for future use.

## Topics

### Constants

[`var kAuthorizationEnvironmentUsername: String`](/documentation/Security/kAuthorizationEnvironmentUsername)

The type for an authorization item containing a user name.

[`var kAuthorizationEnvironmentPassword: String`](/documentation/Security/kAuthorizationEnvironmentPassword)

The type for an authorization item containing a password.

[`var kAuthorizationEnvironmentShared: String`](/documentation/Security/kAuthorizationEnvironmentShared)

The type for an authorization item containing a shared right.

[`var kAuthorizationRightExecute: String`](/documentation/Security/kAuthorizationRightExecute)

The type for an authorization item requesting the right to execute with privileges.

[`var kAuthorizationEnvironmentPrompt: String`](/documentation/Security/kAuthorizationEnvironmentPrompt)

The type for an authorization item containing the name of the item that should be passed into the environment when specifying invocation-specific additional text.

[`var kAuthorizationEnvironmentIcon: String`](/documentation/Security/kAuthorizationEnvironmentIcon)

The type for an authorization item containing the name of the item that should be passed into the environment when specifying an alternate icon.

[`var kAuthorizationPamResult: String`](/documentation/Security/kAuthorizationPamResult)

The type for an authorization item containing a return code from a Pluggable Authentication Module (PAM).



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)