def set_keyvault_secret(access_token, vault_uri, secret_name, secret_value):
endpoint = '<STR_LIT>'.join([vault_uri,<EOL>'<STR_LIT>', secret_name,<EOL>'<STR_LIT>', '<STR_LIT>'])<EOL>current_time = datetime.datetime.now().isoformat()<EOL>attributes = {'<STR_LIT>': current_time,<EOL>'<STR_LIT>': True,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': current_time}<EOL>secret_body = {'<STR_LIT>': attributes,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': {'<STR_LIT>': '<STR_LIT:utf-8>'},<EOL>'<STR_LIT:value>': secret_value}<EOL>body = json.dumps(secret_body)<EOL>print(body)<EOL>return do_put(endpoint, body, access_token)<EOL>
Adds a secret to a key vault using the key vault URI. 
       Creates a new version if the secret already exists.

    Args:
        access_token (str): A valid Azure authentication token.
        vault_uri (str): Vault URI e.g. https://myvault.vault.azure.net.
        secret_name (str): Name of the secret to add.
        secret_value (str): Value of the secret.

    Returns:
        HTTP response. 200 OK.