def create_trust_for_cluster(cluster, expires=True):
    ctx = context.current()
    cluster = conductor.cluster_get(ctx, cluster)
    if CONF.use_identity_api_v3 and not cluster.trust_id:
        trustor = keystone.auth()
        trustee = keystone.auth_for_admin(
            project_name=CONF.keystone_authtoken.admin_tenant_name)

        trust_id = create_trust(trustor=trustor,
                                trustee=trustee,
                                role_names=ctx.roles,
                                allow_redelegation=True)

        conductor.cluster_update(ctx,
                                 cluster,
                                 {'trust_id': trust_id})
This method is responsible to add the
dataset/ETHPy150Open openstack/sahara/sahara/service/trusts.py/create_trust_for_cluster--crossover with--dataset/ETHPy150Open cidles/graf-python/src/graf/graphs.py/ProfileDesc.add_language