This post is more than 5 years old
14 Posts
0
1775
Atmos-php set System Meta Data for PolicyName
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.
JasonCwik
281 Posts
1
June 6th, 2013 07:00
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
14 Posts
0
June 7th, 2013 12:00
Thanks Jason Cwik as always for the helpful guidance and tips, cheers!