---
title: certificates
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/urlcredential/certificates
---

# certificates

The intermediate certificates of the credential, if it is a client certificate credential.

## Declaration

```swift
var certificates: [Any] { get }
```

## Discussion

Discussion The certificates are SecCertificate objects representing the intermediate certificates of the credential. This value is nil if this is not a client certificate credential or if the credential was created with no intermediate certificates.

## See Also

### Getting credential properties

- [user](foundation/urlcredential/user.md)
- [hasPassword](foundation/urlcredential/haspassword.md)
- [password](foundation/urlcredential/password.md)
- [identity](foundation/urlcredential/identity.md)
- [persistence](foundation/urlcredential/persistence-swift.property.md)
- [URLCredential.Persistence](foundation/urlcredential/persistence-swift.enum.md)
