Default data access policy
Set-EdgeKVDefaultAccessPolicy
Synopsis
Modify the default data access policy.
Syntax
attributes (Default)
Set-EdgeKVDefaultAccessPolicy [-AllowNamespacePolicyOverride] [-RestrictDataAccess] [-EdgeRCFile <String>]
[-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
body
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 true
and the -AllowNamespacePolicyOverride
parameter is false
. You can provide the options individually or all at once with the -Body
parameter.
Parameters
-AccountSwitchKey
Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Run the Get-AccountSwitchKey
command to list the account switch keys available to you.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllowNamespacePolicyOverride
Overrides the default dataAccessPolicy
when creating a new namespace.
- A value of
true
allows you to override thedataAccessPolicy
when creating a namespace. - A value of
false
prevents new namespaces from overriding the defaultdataAccessPolicy
.
Type: SwitchParameter
Parameter Sets: attributes
Aliases: None
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Body
Request body, either as a PSCustomObject
or string. This parameter supports pipelining.
Type: Object
Parameter Sets: body
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-EdgeRCFile
EdgeRC file to authenticate your command. Defaults to ~/.edgerc
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RestrictDataAccess
Default dataAccessPolicy
for new namespaces.
- A value of
true
allows new namespaces to access Akamai's Enhanced TLS network. - A value of
false
allows access on both the Enhanced TLS and the Standard TLS networks. To set this value tofalse
, you need access to the EdgeKV Beta for Standard TLS.
Type: SwitchParameter
Parameter Sets: attributes
Aliases: None
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Section
EdgeRC section to retrieve authentication credentials from. Defaults to default
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.
Inputs
System.Object
Outputs
System.Object
Related links
Updated 6 days ago