Highlighted
HybridCloud
6 Indium

Atmos-php set System Meta Data for PolicyName

Jump to solution

Jason Cwik

Is there an option for me to change the default policyname for the access token during the upload request in Atmos-php?

Looking at the EsuRestApi.php line 211 for createObjectOnPath function

Tried to insert following code with no luck.

$headers['x-emc-meta'] = 'policyname=SPECIALPOLICY';

Would you able to provide some light how we could achieve to change the default policyname during upload process request?


Thank you.

0 Kudos
1 Solution

Accepted Solutions
8 Krypton

Re: Atmos-php set System Meta Data for PolicyName

Jump to solution

Setting policies is not explicit.  You must create a policy selector through the system management console that triggers on some specific user-defined or system-defined metadata names and values.  You may also set the default policy on a subtenant to be a custom policy.

See the System Administration guide, page 192 for information on working with policies and policy selectors.

https://support.emc.com/docu44318_Atmos_Administrator's_Guide.pdf?language=en_US

2 Replies
8 Krypton

Re: Atmos-php set System Meta Data for PolicyName

Jump to solution

Setting policies is not explicit.  You must create a policy selector through the system management console that triggers on some specific user-defined or system-defined metadata names and values.  You may also set the default policy on a subtenant to be a custom policy.

See the System Administration guide, page 192 for information on working with policies and policy selectors.

https://support.emc.com/docu44318_Atmos_Administrator's_Guide.pdf?language=en_US

HybridCloud
6 Indium

Re: Atmos-php set System Meta Data for PolicyName

Jump to solution

Thanks Jason Cwik as always for the helpful guidance and tips, cheers!

0 Kudos