def METHOD_NAME(self, ykman_cli):
    ykman_cli(
        "hsmauth",
        "credentials",
        "symmetric",
        "test-name-sym",
        "-c",
        "123456",
        "-E",
        os.urandom(16).hex(),
        "-M",
        os.urandom(16).hex(),
        "-m",
        DEFAULT_MANAGEMENT_KEY,
    )
    creds = ykman_cli("hsmauth", "credentials", "list").output
    assert "test-name-sym" in creds