Skip to content

aws_smithy_experimental: support no TLS and custom TLS providers #1221

@howardjohn

Description

@howardjohn

Describe the feature

aws_smithy_experimental currently requires you to specify a CryptoMode - Ring, AwsLc, or AwsLcFips.

Internally this gets translated into an

#[derive(Clone)]
enum Inner {
    Standard(CryptoMode),
    #[allow(dead_code)]
    Custom(CryptoProvider),
}

The following are needed:

  1. The ability to run with no crypto at all, for use cases where calls are made to only HTTP endpoints (IMDS, etc)
  2. The ability to directly pass a custom crypto provider

Use Case

  1. I have use cases that need a specific crypto provider for compliance
  2. I have use cases where I know I will never do TLS and want to ensure that is the case.

Proposed Solution

  1. Add CryptoMode::Custom
  2. Add CryptoMode::None

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

A note for the community

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions