# if a key is unavailable, then we still need to put something in the
# user's GID. So make one up.
pkey = Keypair(create=True)
# create the gid
person_gid = AuthHierarchy.create_gid(hrn, create_uuid(), pkey)
# if a key is unavailable, then we still need to put something in the
# user's GID. So make one up.
pkey = Keypair(create=True)
# create the gid
person_gid = AuthHierarchy.create_gid(hrn, create_uuid(), pkey)