---
title: URLCredential.Persistence.permanent
framework: foundation
role: symbol
role_heading: Case
path: foundation/urlcredential/persistence-swift.enum/permanent
---

# URLCredential.Persistence.permanent

The credential should be stored in the keychain.

## Declaration

```swift
case permanent
```

## See Also

### Persistence strategies

- [URLCredential.Persistence.none](foundation/urlcredential/persistence-swift.enum/none.md)
- [URLCredential.Persistence.forSession](foundation/urlcredential/persistence-swift.enum/forsession.md)
- [URLCredential.Persistence.synchronizable](foundation/urlcredential/persistence-swift.enum/synchronizable.md)
