Skip to content

Conversation

@nagyesta
Copy link

@nagyesta nagyesta commented Jan 6, 2026

  • Add Lowkey Vault container implementation
  • Cover the new container with tests
  • Add basic example for secret use

Resolves #948

- Add Lowkey Vault container implementation
- Cover the new container with tests
- Add basic example for secret use

Resolves testcontainers#948

class LowkeyVaultContainer(DockerContainer):
"""
Container for a Lowkey Vault instance for emulating Azure Key Vault.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs could be updated

else:
return f"https://{self.container_alias}:{self.api_port}"

def get_imds_endpoint(self, network_type: NetworkType = NetworkType.LOCAL) -> str:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also add a method to set the environment variables automatically for the managed identity simulation (although we cannot create the /var/opt/azcmagent/tokens/assumed-identity.key key file automatically).

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

Successfully merging this pull request may close these issues.

New Container: Lowkey Vault

1 participant