

def _create_secret_ref(self, key_id):
    'Creates the URL required for accessing a secret.\n\n        :param key_id: the UUID of the key to copy\n\n        :return: the URL of the requested secret\n        '
    if (not key_id):
        msg = 'Key ID is None'
        raise exception.KeyManagerError(msg)
    return ((self._base_url + '/secrets/') + key_id)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/keymgr/barbican.py BarbicanKeyManager._create_secret_ref/original