<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecPolicyCopyProperties(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@SecPolicyCopyProperties"
  },
  "title" : "SecPolicyCopyProperties(_:)"
}
-->

# SecPolicyCopyProperties(_:)

Returns a dictionary containing a policy’s properties.

```
func SecPolicyCopyProperties(_ policyRef: SecPolicy) -> CFDictionary?
```

## Parameters

`policyRef`

The policy from which properties should be copied.

## Return Value

A dictionary with the policy’s properties. See [Security Policy Keys](/documentation/Security/security-policy-keys) for a list of valid keys. In Objective-C, call the <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> function to free the dictionary’s memory when you are done with it.

## Discussion

---

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)