Default data access policy

Set-EdgeKVDefaultAccessPolicy

Synopsis

Modify the default data access policy.

Syntax

Set-EdgeKVDefaultAccessPolicy [-AllowNamespacePolicyOverride] [-RestrictDataAccess] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-EdgeKVDefaultAccessPolicy -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Modifies the default dataAccessPolicy setting that applies to new namespaces. By default, the -RestrictDataAccess parameter is enabled and the -AllowNamespacePolicyOverride parameter is disabled. You can provide the options individually or all at once with the -Body parameter.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑AllowNamespacePolicyOverride

If present, the function overrides the default dataAccessPolicy when creating a new namespace. If absent, this prevents new namespaces from overriding the default dataAccessPolicy.

‑Body
Conditionally required

A request body, either as a PSCustomObject or a string. This parameter supports pipelining.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑RestrictDataAccess

The default dataAccessPolicy for new namespaces. If present, this allows new namespaces to access Akamai's Enhanced TLS network. If absent, this allows access on both the Enhanced TLS and the Standard TLS networks. To disable it, you need access to the EdgeKV Beta for Standard TLS.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links