Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyVaultForLinux fails to run #1915

Open
yacuzo opened this issue Apr 23, 2024 · 1 comment
Open

KeyVaultForLinux fails to run #1915

yacuzo opened this issue Apr 23, 2024 · 1 comment

Comments

@yacuzo
Copy link

yacuzo commented Apr 23, 2024

Environment:

  • Plain VM (no ARC or scale set)
  • OS Ubuntu 20.04 LTS
  • KeyVaultForLinux version 2.2.2158.57

Settings used:

{
    "settings": {
        "secretsManagementSettings": {
            "pollingIntervalInS": "3600",
            "linkOnRenewal": "false",
            "certificateStoreLocation": "/var/cert",
            "requireInitialSync": true,
            "observedCertificates": [
                "https://cert-url"
            ]
        }
    },
    "authenticationSettings": {
        "msiEndpoint": "http://169.254.169.254/metadata/identity",
        "msiClientId": "managed identity object ID"
    }
}

Error produced: "Attempt to get non-existent AuthConfig". I can't find anything on this error anywhere online, not even a code search of this repo has anything.

AADSSHLoginForLinux works fine, I can use az ssh to connect.

Any pointers to what might cause this?

@alix-tlse
Copy link

Hello, I think "authenticationSettings" have to be inside the "settings" definition and not at the same level.
Source : Key Vault virtual machine extension for Linux - Extension schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants