2 # TC_Cred1.10.0.POS List NS to prove ok
4 ns list name com.test.TC_Cred1.@[user.name]
6 # TC_Cred1.10.1.POS Create Personalized Namespace to add Credentials
8 ns create com.test.TC_Cred1.@[user.name] @[user.name] testid@aaf.att.com
10 # TC_Cred1.10.10.POS Create role to assign mechid perm to
12 role create com.test.TC_Cred1.@[user.name].cred_admin testid@aaf.att.com
13 role create com.test.TC_Cred1.@[user.name].pw_reset
15 # TC_Cred1.10.11.POS Assign roles to perms
18 perm create com.att.aaf.password com.test reset com.test.TC_Cred1.@[user.name].pw_reset
19 perm create com.att.aaf.mechid com.test create com.test.TC_Cred1.@[user.name].cred_admin
20 perm grant com.att.aaf.mechid com.att create com.test.TC_Cred1.@[user.name].cred_admin
23 # TC_Cred1.10.30.POS Assign user for creating creds
25 user cred add m99999@@[user.name].TC_Cred1.test.com password123
26 set m99999@@[user.name].TC_Cred1.test.com=password123
29 # TC_Cred1.10.31.POS Credential used to similate non-admin Tier1 user with reset and create permissions
31 user role add m99999@@[user.name].TC_Cred1.test.com com.test.TC_Cred1.@[user.name].pw_reset,com.test.TC_Cred1.@[user.name].cred_admin
33 # TC_Cred1.10.32.POS Remove create rights for testing
35 user role del testid@aaf.att.com com.test.TC_Cred1.@[user.name].cred_admin