Hello, @Nuri Engin !
You may be tempted to look at multi-line secrets and use a JSON file but that would create a single point of access for all secrets. Instead, I would use a script using whatever you are most comfortable with:
PowerShell using ConvertTo-SecureString and Set-AzKeyVaultSecret:
$secretvalue = ConvertTo-SecureString "MySecretValue" -AsPlainText -Force
$secret = Set-AzKeyVaultSecret -VaultName "<your-unique-keyvault-name>" -Name "ExamplePassword" -SecretValue $secretvalue
.NET using SetSecretAsync():
await client.SetSecretAsync(secretName, secretValue);
await client.setSecret(secretName, secretValue);
Python using set_secret:
client.set_secret(secretName, secretValue)
Java using secretClient.setSecret:
secretClient.setSecret(new KeyVaultSecret(secretName, secretValue));