diff --git a/docs/site/pages/docs/authentication.mdx b/docs/site/pages/docs/authentication.mdx index 69ba345..43afbd3 100644 --- a/docs/site/pages/docs/authentication.mdx +++ b/docs/site/pages/docs/authentication.mdx @@ -136,7 +136,7 @@ set your environment variable in various ways, like the following: ## Remote state management -Mantle supports managing remote state files using AWS S3 storage which requires authentication. You can +Mantle supports managing remote state files using AWS S3 or Cloudflare R2 storage which requires authentication. You can provide your credentials either through environment variables or [an AWS profile file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html#cli-configure-profiles-create). @@ -150,7 +150,8 @@ getting your AWS credentials](https://docs.aws.amazon.com/general/latest/gr/aws- The simplest method is to set the `MANTLE_AWS_ACCESS_KEY_ID` and `MANTLE_AWS_SECRET_ACCESS_KEY` environment variables. Mantle also supports the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` variables but recommends -you scope your variables to Mantle to avoid conflicts with other tools. +you scope your variables to Mantle to avoid conflicts with other tools. Cloudflare R2 is compatible with +this same authentication scheme, so you can input your secret access key and key ID into the same environment variables. If you're using Mantle within an AWS EC2 instance or AWS Elastic Container Service, you can set the `MANTLE_AWS_INHERIT_IAM_ROLE` environment variable to `true` to inherit the permission set granted to the host