Dynamic AWS IAM Credentials with HashiCorp Vault
Learn how to use HashiCorp Vault to generate short-lived AWS IAM credentials, reducing the risk of long-lived credentials being exposed.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to use HashiCorp Vault to generate short-lived AWS IAM credentials, reducing the risk of long-lived credentials being exposed.
IBM Cloud IAM supports expiration for Service ID API keys and Trusted Profile credentials as part of least-privilege authentication designs. The documented behavior for key expiration is that new token requests using the expired credential are rejected. The unresolved behavior concerns IAM access tokens that were issued before the credential expired. Access
A multi-tenant architecture utilizes IAM roles and temporary STS credentials to access DynamoDB tables. The design goal is least-privilege access, restricting actions like GetItem , PutItem , and Query to specific table and index ARNs using Signature Version 4 authentication. There is uncertainty regarding the boundary between infrastructure-level security a
Goal Determine whether enabling the publicAccessPrevention flag on a Cloud Storage bucket actively removes any pre‑existing bindings that grant allUsers or allAuthenticatedUsers access, or if those bindings persist and are merely blocked by the enforcement layer. Constraints & Uncertainty The documentation states that enforced Public Access Prevention re
Amazon S3 Block Public Access (BPA) provides a centralized control to prevent the accidental exposure of data by overriding bucket policies and Access Control Lists (ACLs). This feature operates at both the account level and the individual bucket level, utilizing four distinct settings: BlockPublicAcls , IgnorePublicAcls , BlockPublicPolicy , and RestrictPub
DynamoDB + IAM Policies: Preventing Accidental Public Access When a table is shared via an IAM policy that uses a wildcard resource ARN, any principal with permission to the broader resource can read or write the table, even if the intention was to restrict access to a specific account or service. A VPC interface endpoint can keep traffic inside a VPC, but i
Implementing least-privilege authentication in GitHub Actions via OpenID Connect (OIDC) allows workflows to exchange short-lived tokens for cloud IAM roles. This removes the need for long-lived secrets but introduces complexity in trust relationship configuration. In a multi-tenant organization with numerous repositories, a broad trust policy based only on t
The Google Cloud Pub/Sub emulator allows for local development by setting the PUBSUB_EMULATOR_HOST environment variable. However, when active, the emulator bypasses standard OAuth 2.0 token validation and IAM permission checks. This current permissive behavior creates a discrepancy between local testing environments and production. While the emulator accepts
When implementing least‑privilege authentication in AWS, key rotation and expiration are critical. The documented error Access key expired appears when an IAM user signs a request with a key that has been marked Expired in the IAM console. According to AWS documentation, an Expired key remains listed as active until the user explicitly revokes or deletes it.