---
title: kAuthorizationEnvironmentShared
framework: security
role: symbol
role_heading: Global Variable
path: security/kauthorizationenvironmentshared
---

# kAuthorizationEnvironmentShared

The type for an authorization item containing a shared right.

## Declaration

```swift
var kAuthorizationEnvironmentShared: String { get }
```

## Discussion

Discussion Adding a kAuthorizationEnvironmentShared entry in the environment causes the username and password to be added to the shared credential pool of the calling application’s session. This means that further calls by other applications in this session automatically have this credential available to them.
