Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IKeystoreMacKeyBuilder

interface IKeystoreMacKeyBuilder
Extends com.amazon.kepler.crypto.IHmacKeyBuilder An interface for generating or importing MAC keys in a keystore.

Methods

name()

IKeystoreMacKeyBuilder* name(string name)
Set the name to identify this key. This parameter is mandatory. If a key with the same name already exists in the keystore, the build method will throw a DuplicateKeyError.

Parameters

name
string — Required The name for the key.

Returns

IKeystoreMacKeyBuilder* The builder.
Last modified on October 29, 2026